package com.sunshine.lnuplusweb.vo.socket;

import java.io.Serializable;

/**
 * Socket长连接实体类
 * 主要用于实时弹幕功能
 */
public class SocketMessage implements Serializable {

    //消息类型
    public static int SYSTEM_MESSAGE = 0;

    public static int DANMU_MESSAGE = 1;

    private String myMessage;

    private int myType;

    public SocketMessage(String myMessage, int myType) {
        this.myMessage = myMessage;
        this.myType = myType;
    }

    public String getMyMessage() {
        return myMessage;
    }

    public void setMyMessage(String myMessage) {
        this.myMessage = myMessage;
    }

    public int getMyType() {
        return myType;
    }

    public void setMyType(int myType) {
        this.myType = myType;
    }
}
